package cn.zte.com.train.mybatis;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import cn.zte.com.train.hiber8train.Users;
import cn.zte.com.train.mybatis.dao.UserDao;

@Component
public class UserSearchSvc implements IUserSearchSvc {
	@Autowired
	public UserDao userDao;
	
	public Users searchUser(String userid) {
		return userDao.getUser(userid);
		//return null;
		
	}
}
